package com.bosch.in.rtp1.ept.model.dto;

public class BoxPlotFactor {
	private Float sigmaTop;
	private Float sigmaMiddle1;
	private Float median;
	private Float sigmaMiddle2;
	private Float sigmaBottom;
	private String xLineValue;
	private String category;
	private int month;
	private int priority;
	private int totalItem;
	
	public BoxPlotFactor()
	{
		
	}
	public BoxPlotFactor(float sigmaTop, float sigmaMiddle1, float median, float sigmaMiddle2, float sigmaBottom, String xLineValue, String category, int totalItem)
	{
		this.sigmaTop 		= sigmaTop;
		this.sigmaMiddle1 	= sigmaMiddle1;
		this.sigmaMiddle2 	= sigmaMiddle2;
		this.median			= median;
		this.sigmaBottom	= sigmaBottom;
		this.category		= category;
		this.xLineValue		= xLineValue;
		this.totalItem		= totalItem;
	}

	public Float getSigmaTop() {
		return sigmaTop;
	}

	public void setSigmaTop(Float sigmaTop) {
		this.sigmaTop = sigmaTop;
	}

	public Float getSigmaMiddle1() {
		return sigmaMiddle1;
	}

	public void setSigmaMiddle1(Float sigmaMiddle1) {
		this.sigmaMiddle1 = sigmaMiddle1;
	}

	public Float getMedian() {
		return median;
	}

	public void setMedian(Float median) {
		this.median = median;
	}

	public Float getSigmaMiddle2() {
		return sigmaMiddle2;
	}

	public void setSigmaMiddle2(Float sigmaMiddle2) {
		this.sigmaMiddle2 = sigmaMiddle2;
	}

	public Float getSigmaBottom() {
		return sigmaBottom;
	}

	public void setSigmaBottom(Float sigmaBottom) {
		this.sigmaBottom = sigmaBottom;
	}

	public String getxLineValue() {
		return xLineValue;
	}

	public void setxLineValue(String xLineValue) {
		this.xLineValue = xLineValue;
	}

	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public int getMonth() {
		return month;
	}

	public void setMonth(int month) {
		this.month = month;
	}

	public int getPriority() {
		return priority;
	}

	public void setPriority(int priority) {
		this.priority = priority;
	}
	
	public Float getDelta1() {
		return this.sigmaMiddle2-this.sigmaBottom;
	}
	
	public Float getDelta2() {
		return this.median-this.sigmaBottom;
	}
	
	public Float getDelta3() {
		return this.sigmaMiddle1-this.median;
	}
	
	public Float getDelta4() {
		return this.sigmaTop-this.sigmaMiddle1;
	}
	
	public int getTotalItem() {
		return totalItem;
	}
	
	public void setTotalItem(int totalItem) {
		this.totalItem = totalItem;
	}
	
}
